package com.migration.model.olddb;

import jakarta.persistence.*;
import lombok.Data;
import java.io.Serializable;

/**
 * 文档设备关联表 实体类
 * 表名：ra_document_node
 * 自动生成的实体类
 */
@Data
@Entity
@Table(name = "ra_document_node")
public class RaDocumentNode implements Serializable {

    private static final long serialVersionUID = 1L;
    
    /**
     * 
     * 主键
     */
    @Id
    @Column(name = "id", nullable = false)
    private Long id;
    
    /**
     * 设备主键
     */
    @Column(name = "node_id", nullable = false)
    private Long nodeId;
    
    /**
     * 文件主键
     */
    @Column(name = "file_id", nullable = false)
    private Long fileId;
    
    @Override
    public String toString() {
        return "RaDocumentNode{" +
            "id=" + id +
            ", nodeId=" + nodeId +
            ", fileId=" + fileId +
        '}';
    }
} 